Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Adding support for multiple devices, serial number constructor and example code #36

Merged
merged 2 commits into from
Jun 26, 2015
Merged

Conversation

gordonturner
Copy link
Collaborator

I have been working on multiple device support and think I have a reasonable approach.

The pull request replaces the 'name' with 'serial number' as an optional constructor argument. With multiple devices, it is likely that they will share the same name, but the serial number is unique.

Updated the readme to include the changes and added an example.js.

Let me know if you think the pull request needs enhancements?

(Also, thanks for node-xbox-controller, nice to have something to start from!)

Added device serial number support, enabling multiple devices.
Updating Readme,  improved multiple device handling, added example.js
@andrew
Copy link
Owner

andrew commented Jun 26, 2015

Wonderful work @gordonturner, would you also like a commit bit so you can freely contribute to the project?

andrew added a commit that referenced this pull request Jun 26, 2015
Adding support for multiple devices, serial number constructor and example code
@andrew andrew merged commit d4a5077 into andrew:master Jun 26, 2015
@gordonturner
Copy link
Collaborator Author

Sure, that would be great, thanks @andrew.

@andrew
Copy link
Owner

andrew commented Jun 26, 2015

@gordonturner I've added you as a collaborator now, I'll push a new release to npm on Monday when I get home.

@gordonturner
Copy link
Collaborator Author

Hey @andrew could I bother you to push a new release to npm?

Thanks!
G.

@andrew
Copy link
Owner

andrew commented Jul 11, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants